package com.rest.response;

import java.util.List;

/**
 * Created by HP on 2020/3/2.
 */

public class PrescriptionListResponse extends BaseResponse {

    public PrescriptionWrapper data;


    public class PrescriptionWrapper {
        public diagInfo diagInfo;
        public List<pInfo> pInfo;

    }

    public class Prescription {
        public String drugChannel;
        public String drugDose;
        public String drugFrequency;
        public String drugNumber;
        public String name;
        public String drugUsing;
        public String useNumber;
        public String westernId;
        public String code;
        public String totalExpense;
        public String expense;
        public String dosageUnit;
        public String drugPosition;
        public String specialUnit;
        public String drugFrequencyCode;
        public String drugChannelCode;
    }


    public class pInfo {
        public int flag;
        public int isChildren;
        public int type;
        public String diagnoseId;
        public String prescriptionId;
        public String remark;

        //  审核状态：0未审核，1审核通过 2驳回
        public List<Prescription> westernList;
    }

    public class diagInfo {
        public String diagnoseResult;
        public String preAppend;
        public String icd;
        public String icdId;
        public String preAppendId;
        public String tailAppend;
        public String tailAppendId;
        public String mouldName;

        public List<Second> secondList;
    }

    public class Second {

        public String preAppendId;
        public String preAppend;
        public String icd;
        public String tailAppend;
        public String icdId;
        public String tailAppendId;
    }

}
